home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
PASCAL
/
0920.ZIP
/
STDERR.ARC
/
STDERR.PAS
< prev
Wrap
Pascal/Delphi Source File
|
1987-10-27
|
716b
|
34 lines
{$R-,S-,I-,D-,T-,F-,V-,B-,N-}
unit StdErr;
{ A unit for accessing the standard error device.
Version 1.0 - 10/26/1987 - First general release
Scott Bussinger
Professional Practice Systems
110 South 131st Street
Tacoma, WA 98444
(206)531-8944
Compuserve 72247,2671
Thanks to Brian Foley for this beautifully simple approach to accessing the
standard error device. }
interface
var Err: text;
implementation
var ErrHandle: word absolute Err;
begin
assign(Err,''); { Attach to the standard output device }
rewrite(Err);
ErrHandle := 2 { Change handle to the standard error device }
end.